package cn.sgy.infrastructure.web.initialize.business;

import cn.sgy.infrastructure.web.initialize.config.WenInitAutoConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description 初始化 {@link org.springframework.web.servlet.DispatcherServlet}
 * @author sgy
 * @date 2023-03-08
 */
@Slf4j
@RestController
public class InitializeDispatcherServletController {

    @GetMapping(WenInitAutoConfiguration.INITIALIZE_PATH)
    public void initializeDispatcherServlet() {
        log.info("Initialized the dispatcherServlet to improve the first response time of the interface...");
    }
}
